home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19941221-19950208
/
000020_news@columbia.edu_Sat Dec 24 18:05:45 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA23596
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sat, 24 Dec 1994 13:05:50 -0500
Received: by apakabar.cc.columbia.edu id AA29696
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sat, 24 Dec 1994 13:05:48 -0500
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Window resizes in OS/2
Date: 24 Dec 1994 18:05:45 GMT
Organization: Columbia University
Lines: 52
Distribution: na
Message-Id: <3dhntp$svt@apakabar.cc.columbia.edu>
References: <3dhn29$b2u@news1.shell>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <3dhn29$b2u@news1.shell>, Seeker <cliff@shell.portal.com> wrote:
>I run OS/2 ckermit(190) in a 33x80 window. When I connect to VMS, I
>execute the following command to get VMS to recognize the larger window:
>
>$ set term/pag=32/wid=80
>
>I include the width since the width is sometimes improperly set to 132
>when I access VMS from a Unix box via telnet rather than dialing
>directly. This works fine when entered manually, so I decided to write a
>simple script to automate it. In the script I have the following two
>lines:
>
>output set term/pag=32/wid=80\13
>in 5 $
>
>Whenever I execute these two lines, the OS/2 window is resized to 25x80
>with VMS now believing I have a 32x80 screen. I can reproduce the
>problem by executing those two lines directly from the command line. I
>can fix the window by adding a "!mode 80,33" command, but it is annoying
>to have to do so. Interestingly, if I omit the "/wid=80" in the output
>command, no resizing occurs. Is it supposed to work this way?
>
I am not totally sure this is the answer, but...
In version 5A(190) and earlier, the same screen size is used by both the
C-Kermit command parser and the terminal emulation window (in future
releases, the sizes will be independent). When the command parser is
active, so is the ANSI console driver.
I suspect that when you tell VMS to:
set term/pag=32/wid=80
this causes VMS to send an escape sequence to the terminal. You can
confirm this via LOG SESSION or by putting C-Kermit's terminal emulator in
debug mode (with Alt-d).
If you have SET INPUT ECHO ON in C-Kermit, then your INPUT command:
in 5 $
will read characters sent by the host and echo them to the screen, i.e. to
the ANSI console driver. This means that any escape sequences sent by the
host are likely to have unexpected effects since ANSI != VTxxx. In this
case, the console driver evidently recognized what it though was a video-
mode change command, and so changed its video mode, which affects both
the command screen and the terminal screen.
Solution: Tell C-Kermit to SET INPUT ECHO OFF.
- Frank